package com.itnoob.demo2;

/**
 * @author zhoujun
 * @date 2025/3/26 22:07
 */
public class Client2 {
    public static void main(String[] args) {
        ExpressionBuilder builder = new ExpressionBuilder();
        Expression expression = builder.prefix(" Hello,  ").trim().uppercase().lowercase().build();
        String interpret = expression.interpret("world.");

        System.out.println(interpret);  //输出 Hello,World

    }
}
